package com.example.gmallpublisher.util;

import org.apache.commons.lang3.time.DateFormatUtils;

import java.util.Date;

public class DateFormatUtil {
    public static Integer now(){
        String format = DateFormatUtils.format(new Date(), "yyyyMMdd");//需要整数
        return Integer.valueOf(format);
    }
}
